#ifndef _PIGOS_DISK_H_
#define _PIGOS_DISK_H_

/* values of HD_COMMAND */
#define WIN_RESTORE	0x10
#define WIN_READ	0x20
#define WIN_WRITE	0x30
#define WIN_VERIFY	0x40
#define WIN_FORMAT	0x50
#define WIN_INIT	0x60
#define WIN_SEEK	0x70
#define WIN_DIAGNOSE	0x90
#define WIN_SPECIFY	0x91

int rdwr_disk(u32_t begin, int count, u8_t *buf, int cmd, struct process **wait);

#endif /* _PIGOS_DISK_H_ */
